Give the xencons tty driver a proper name.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 14 Dec 2005 18:41:06 +0000 (19:41 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 14 Dec 2005 18:41:06 +0000 (19:41 +0100)
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
linux-2.6-xen-sparse/drivers/xen/console/console.c

index 0866ee58dd3544769a7d1e1e5ee750ec4f58eb7b..9183a47af88264c9bd7575673663db41645374e2 100644 (file)
@@ -628,6 +628,7 @@ static int __init xencons_init(void)
        if (xencons_driver == NULL)
                return -ENOMEM;
 
+       DRV(xencons_driver)->name            = "xencons";
        DRV(xencons_driver)->major           = TTY_MAJOR;
        DRV(xencons_driver)->type            = TTY_DRIVER_TYPE_SERIAL;
        DRV(xencons_driver)->subtype         = SERIAL_TYPE_NORMAL;